package com.astar.mapper;

import com.astar.entity.CustomMenu;
import com.astar.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2020-01-17
 */
@Repository
public interface RoleMapper extends BaseMapper<Role> {


    List<Role> selectLikeName(String name);

    List<CustomMenu> selectAllTree();
}
